﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using First;
using Second;


namespace _032
{
    internal class Program
    {
        static void Main(string[] args)
        {
            firstClass demo1 = new firstClass();
            secondClass demo2 = new secondClass();
            demo1.sayHello();
            demo2.sayHello();
            Console.ReadKey();
        }
    }
}
namespace First
{
    public class firstClass
    {
        public void sayHello()
        {
            System.Console.WriteLine("First命名空间下demoClass类中的sayHello函数");
        }
    }
}
namespace Second
{
    public class secondClass
    {
        public void sayHello()
        {
            System.Console.WriteLine("Second命名空间下demoClass类中的sayHello函数");
        }
    }
}
